<?php

defined('_HUMUS_EXEC') or die('Direct Access to this location is not allowed.');

function pippo($event){
	//var_dump($event);
	if ( !$event['requestPage'] ) {
		$event->setReturnValue('default');
		return true;
	}

}

Humus::dispatcher()->connect( hmApplicationRouter::HUMUS_EVENT_REQUEST_ROUTED, 'pippo' );

Humus::service('controller')->run();